<?xml version="1.0"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN"
"http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">

<hibernate-mapping>
    <class name="com.church.db.Group" table="group_" catalog="church">
        <id name="id" type="java.lang.Integer">
            <column name="id" />
            <generator class="identity" />
        </id>
        <property name="cnName" type="string">
            <column name="cn_name" length="45" />
        </property>
        <property name="enName" type="string">
            <column name="en_name" length="45" />
        </property>
        <property name="state" type="string">
            <column name="state" length="5" not-null="true" />
        </property>
    </class>
</hibernate-mapping>
